package com.cskt.erptemplate.pojo.result.auth;

/**
 * @Author 陈厚德
 * @Version 2.2
 */
public class GenerateCaptchaDto {

    private static final long serialVersionUID = 1L;

    private String sn;

    private String image;

    public GenerateCaptchaDto() {
    }

    public String getSn() {
        return this.sn;
    }

    public String getImage() {
        return this.image;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof GenerateCaptchaDto)) {
            return false;
        } else {
            GenerateCaptchaDto other = (GenerateCaptchaDto)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$sn = this.getSn();
                Object other$sn = other.getSn();
                if (this$sn == null) {
                    if (other$sn != null) {
                        return false;
                    }
                } else if (!this$sn.equals(other$sn)) {
                    return false;
                }

                Object this$image = this.getImage();
                Object other$image = other.getImage();
                if (this$image == null) {
                    if (other$image != null) {
                        return false;
                    }
                } else if (!this$image.equals(other$image)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof GenerateCaptchaDto;
    }


    public String toString() {
        return "GenerateCaptchaDto(sn=" + this.getSn() + ", image=" + this.getImage() + ")";
    }
}
